package innerclassdemo1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 阿宾
 * Date: 2024-10-16
 * Time: 09:30
 */
public class Outer {
    int a = 10;
    public class Inner{
        int a = 40;
        public void show(){
            int a = 100;
            System.out.println(a);//100
            System.out.println(this.a);//40
            System.out.println(Outer.this.a);//10

        }
    }
}



















